﻿using System;
using System.Web.Caching;
using System.Web.UI;
using WEATHER.Components;
using System.Web;

namespace WEATHER.Modules.ONLINE.Pages
{
    public partial class AreaWeather : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)
            {
                Guid mid = new Guid(Request.QueryString["mid"]);
                ContentPane.InnerHtml = HttpUtility.HtmlDecode(Area.GetWeatherOnline(mid));
                //ContentPane.InnerHtml = HttpUtility.HtmlDecode(Area.GetWeatherOffline(mid));
                lblUpdatedDate.Text = DateTime.Today.ToShortDateString();
            }
        }
    }
}
